Skip to content

Send a funding request

Request

Sends a funding request to another console user asking them to fund the distribution's bank account. The request is a notification with a receipt: it does not move money and nothing downstream waits on it. The distribution's bank account snapshot (account name, numbers and address) and reference are captured at send time and returned as-is on later reads.

Security
oauth2(Required scopes: fundingRequests:manage)
Path
idstring, (uuid)required
Bodyapplication/jsonrequired
amountnumber, (double)
sentToUserIdstring, (uuid)
notestring or null
curl -i -X POST \
  'https://docs.talli.ai/_mock/referencev3/swagger/v3/distribution-manager/distributions/{id}/funding-requests' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "amount": 0.1,
    "sentToUserId": "b0dff385-1244-43d8-a812-86f5ed49e020",
    "note": "string"
  }'

Responses

Created

Bodyapplication/json
idstring, (uuid)
distributionIdstring, (uuid)
distributionNamestring
subClientIdstring or null, (uuid)
statusstring(FundingRequestStatus)
Enum:"Sent""Confirmed""Declined""Cancelled"
amountnumber, (double)
notestring or null
availableBalanceAtRequestnumber, (double)
referencestring
fundingAccountobject(FundingAccountResponse)
requestedByobject(FundingRequestActorResponse)
requestedOnstring, (date-time)
sentToobject(FundingRequestAddresseeResponse)
decidedByobject(FundingRequestActorResponse)
decidedOnstring or null, (date-time)
declineReasonstring or null
cancelledByobject(FundingRequestActorResponse)
cancelledOnstring or null, (date-time)
Response
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "distributionId": "3791a3de-f2a8-465d-97da-4d8e0a9d3194", "distributionName": "string", "subClientId": "0cbd3b85-fa44-4475-a987-1d9ee2a6e610", "status": "Sent", "amount": 0.1, "note": "string", "availableBalanceAtRequest": 0.1, "reference": "string", "fundingAccount": { "accountName": "string", "accountNumber": "string", "routingNumber": "string", "address": { … }, "accountHolderName": "string", "bankName": "string", "bankAddress": { … }, "acceptsWires": true }, "requestedBy": { "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b", "name": "string", "clientId": "string" }, "requestedOn": "2019-08-24T14:15:22Z", "sentTo": { "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b", "name": "string", "email": "string" }, "decidedBy": { "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b", "name": "string", "clientId": "string" }, "decidedOn": "2019-08-24T14:15:22Z", "declineReason": "string", "cancelledBy": { "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b", "name": "string", "clientId": "string" }, "cancelledOn": "2019-08-24T14:15:22Z" }